package com.ley.yikang.mapper;

import com.ley.yikang.entity.HealthInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface HealthInfoMapper {

    //获取老人健康信息
    HealthInfo getHealthInfo(int elderId);

    //修改老人健康信息
    void updateHealthInfo(HealthInfo healthInfo);

    //添加老人健康信息
    void addHealthInfo(HealthInfo healthInfo);
    
    //删除老人健康信息
    void delHealthInfo(int id);
}
